package errno

var (
	// OK Common errors
	OK = &Errno{Code: 0, Message: "OK"}

	// InternalServerError internal error
	InternalServerError = &Errno{Code: 10001, Message: "Internal server error"}

	// ErrBind request bind error
	ErrBind = &Errno{Code: 10002, Message: "Error occurred while binding the request body to the struct."}

	// ErrValidation params check error
	ErrValidation = &Errno{Code: 20001, Message: "params validation failed."}

	// ErrDatabase relative database error
	ErrDatabase = &Errno{Code: 20002, Message: "Database error."}

	// ErrUserNotFound user errors
	ErrUserNotFound = &Errno{Code: 20101, Message: "The user was not found."}

	// ErrPasswordIncorrect user password incorrect
	ErrPasswordIncorrect = &Errno{Code: 20102, Message: "The password was incorrect."}
)
